

from langchain_community.utilities import SQLDatabase

db = SQLDatabase.from_uri("sqlite:///demo.db")
print(db.dialect)
print(db.get_usable_table_names())
result =db.run("SELECT * FROM Artist LIMIT 10;")

print(result)